<head>
</head>
<body>
<h1>
Aro View: 
	<?php
	 if(strcmp($aro['Aro']['model'], 'Position' ) == 0){
		foreach($positions as $position){
			if(strcmp($aro['Aro']['foreign_key'], $position['Position']['id']) == 0)
			{
				echo $position['Position']['position'];
				break;
			}
		}
	} 
	else{
		foreach($members as $member){
			if(strcmp($aro['Aro']['foreign_key'], $member['UnionMember']['id']) == 0)
			{					
				echo $member['UnionMember']['name'];
				break;
			}
		}
	} 
	?>
</h1>
<label>Chọn controllers:</label>
<ul>
<?php
foreach($controllers as $controller){
	echo '<li>'; 
	echo $html->link($controller['Aco']['alias'], array('controller'=>'Aros', 'action'=>'add_privilege', 
						$id, $controller['Aco']['id'])); 
	echo '</li>';	
}

?>
</ul>
</body>